// CArtAgO artifact code for project swatJacamo

package testes;

import cartago.*;

public class LinkableArtifactAlison extends Artifact {
	
	int count;
	
	void init(){
		count = 0;
	}
	
	@LINK 
	void inc(){
		log("inc invoked.");
		count++;
	}
	
	@LINK 
	void getValue(OpFeedbackParam<Integer> v){
		log("getValue invoked");
		v.set(count);
	}
}


